package com.meida.module.system.provider.autoconfigure;

import com.meida.module.system.provider.listener.SystemInitListener;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zyf
 */
@Configuration
public class SystemConfiguration {


    @Bean
    @ConditionalOnMissingBean(SystemInitListener.class)
    public SystemInitListener baseConfigInitListener() {
        return new SystemInitListener();
    }
}
